package com.changgou.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: hushengjin
 */
@FeignClient("user")
public interface UserInfoFeign {

    @PostMapping("/userInfo/add")
    String decrMoney(@RequestParam(value = "username") String username, @RequestParam(value = "money") int money);

}
